#if !defined(AFX_TABLEFTGRPLSDLG_H__BA1F2346_7C70_4DB0_8E1B_33BBC5DF5DF3__INCLUDED_)
#define AFX_TABLEFTGRPLSDLG_H__BA1F2346_7C70_4DB0_8E1B_33BBC5DF5DF3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TabLeftGrpLSDlg.h : header file
//
#include "MySqlData/SYSGROUP.h"
/////////////////////////////////////////////////////////////////////////////
// CTabLeftGrpLSDlg dialog

class CTabLeftGrpLSDlg : public CDialog
{
// Construction
public:
	void InsertLSGrp(MySqlData::SYSGROUP sg);
	void RefreshLSTree(BOOL bRemoveAll=TRUE);
	CTabLeftGrpLSDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CTabLeftGrpLSDlg)
	enum { IDD = IDD_GRPLEFTLS_DLG };
	CTreeCtrl	m_LSGrpTree;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTabLeftGrpLSDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTabLeftGrpLSDlg)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	virtual BOOL OnInitDialog();
	afx_msg void OnDblclkRwgrpTree(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnRclickRwgrpTree(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	CBrush m_brush; 
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TABLEFTGRPLSDLG_H__BA1F2346_7C70_4DB0_8E1B_33BBC5DF5DF3__INCLUDED_)
